package cn.angleline.cloudhub.easbi.eas.entity

import java.sql.Timestamp
import javax.persistence.Column
import javax.persistence.Entity
import javax.persistence.Id
import javax.persistence.Table

@Entity
@Table(name = "T_BG_BGITEM")
data class TBgBgItem(

        @Id
        @Column(name = "FID")
        val fid: String? = null,

        @Column(name = "FCREATORID")
        val fcreatorid: String? = null,

        @Column(name = "FCREATETIME")
        val fcreatetime: Timestamp? = null,

        @Column(name = "FLASTUPDATEUSERID")
        val flastupdateuserid: String? = null,

        @Column(name = "FLASTUPDATETIME")
        val flastupdatetime: Timestamp? = null,

        @Column(name = "FCONTROLUNITID")
        val fcontrolunitid: String? = null,

        @Column(name = "FNAME_L1")
        val fnameL1: String? = null,

        @Column(name = "FNAME_L2")
        val fnameL2: String? = null,

        @Column(name = "FNAME_L3")
        val fnameL3: String? = null,

        @Column(name = "FNUMBER")
        val fnumber: String? = null,

        @Column(name = "FDESCRIPTION_L1")
        val fdescriptionL1: String? = null,

        @Column(name = "FDESCRIPTION_L2")
        val fdescriptionL2: String? = null,

        @Column(name = "FDESCRIPTION_L3")
        val fdescriptionL3: String? = null,

        @Column(name = "FSIMPLENAME")
        val fsimplename: String? = null,

        @Column(name = "FISLEAF")
        val fisleaf: Int? = null,

        @Column(name = "FLEVEL")
        val flevel: Int? = null,

        @Column(name = "FLONGNUMBER")
        val flongnumber: String? = null,

        @Column(name = "FDISPLAYNAME_L1")
        val fdisplaynameL1: String? = null,

        @Column(name = "FDISPLAYNAME_L2")
        val fdisplaynameL2: String? = null,

        @Column(name = "FDISPLAYNAME_L3")
        val fdisplaynameL3: String? = null,

        @Column(name = "FITEMID")
        val fitemid: String? = null,

        @Column(name = "FITEMNUMBER")
        val fitemnumber: String? = null,

        @Column(name = "FITEMNAME_L1")
        val fitemnameL1: String? = null,

        @Column(name = "FITEMNAME_L2")
        val fitemnameL2: String? = null,

        @Column(name = "FITEMNAME_L3")
        val fitemnameL3: String? = null,

        @Column(name = "FBGITEMGROUPID")
        val fbgitemgroupid: String? = null,

        @Column(name = "FISEFFECTIVE")
        val fiseffective: Int? = null,

        @Column(name = "FPARENTID")
        val fparentid: String? = null,

        @Column(name = "FREFFIELD")
        val freffield: String? = null,

        @Column(name = "FSPECIALNUMBER")
        val fspecialnumber: String? = null,

        @Column(name = "FCASHFLOWID")
        val fcashflowid: String? = null,

        @Column(name = "FCASHDIRECTION")
        val fcashdirection: Int? = null,

        @Column(name = "FORGUNITID")
        val forgunitid: String? = null,

        @Column(name = "FBOSTYPE")
        val fbostype: String? = null,

        @Column(name = "FISFORFP")
        val fisforfp: Int? = null,

        @Column(name = "FFPDIRECTION")
        val ffpdirection: Int? = null,

        @Column(name = "FASSIGNPARENTID")
        val fassignparentid: String? = null,

        @Column(name = "FASSIGNROOTID")
        val fassignrootid: String? = null,

        @Column(name = "FISSUMFORMULA")
        val fissumformula: Int? = 0,

        @Column(name = "FFORMULA")
        val fformula: String? = null,

        @Column(name = "FACCTINIT")
        val facctinit: String? = null,

        @Column(name = "FACCTMAINTAIN")
        val facctmaintain: String? = null,

        @Column(name = "FASSIGNPARENTORGID")
        val fassignparentorgid: String? = null,

        @Column(name = "FASSIGNROOTORGID")
        val fassignrootorgid: String? = null,

        @Column(name = "FCURORGUNITLONGNUMBER")
        val fcurorgunitlongnumber: String? = null,

        @Column(name = "FELIMTYPE")
        val felimtype: Int? = null,

        @Column(name = "FDATARELA")
        val fdatarela: Int? = null,

        @Column(name = "FISNOTTBPRO")
        val fisnottbpro: Int? = null
)